package com.baomidou.springboot.mapper;

import com.baomidou.springboot.entity.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户 Mapper 接口
 * </p>
 *
 * @author QQQ
 * @since 2018-06-19
 */
public interface UserMapper extends BaseMapper<User> {

    User findByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

}
